- Description:
This key defines the path to the file CloudCannon should use as the value of the
bodyfield in a Pull Request template. This file path must be relative to the root of your repository (i.e.,/, not the value ofsource). This allows you to create more complex default content for your Pull Request.CloudCannon will not use the content of this file if the
bodykey is also defined for the Pull Request template.This key has no default.
- Appears in:
└── pull_request_templates └── [*] └── template_path- Type:
string- Examples:
In this example, the
bodyfield of our Pull Request template is populated by the contents of.github/templates/delete-content.mdby default.Copied to clipboardpull_request_templates: - label: Delete content title: Delete content _inputs: title: options: disabled: true template_path: .github/templates/delete-content.md{ "pull_request_templates": [ { "label": "Delete content", "title": "Delete content", "_inputs": { "title": { "options": { "disabled": true } } }, "template_path": ".github/templates/delete-content.md" } ] }